package com.qf.entity;

import java.util.List;

public class PersonalCenter {
    private String username;
    private String phone;
    private String id_num;
    private List<Card2> card2List;

    @Override
    public String toString() {
        return "PersonalCenter{" +
                "username='" + username + '\'' +
                ", phone='" + phone + '\'' +
                ", id_num='" + id_num + '\'' +
                ", card2List=" + card2List +
                '}';
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getId_num() {
        return id_num;
    }

    public void setId_num(String id_num) {
        this.id_num = id_num;
    }

    public List<Card2> getCard2List() {
        return card2List;
    }

    public void setCard2List(List<Card2> card2List) {
        this.card2List = card2List;
    }

    public PersonalCenter(String username, String phone, String id_num, List<Card2> card2List) {
        this.username = username;
        this.phone = phone;
        this.id_num = id_num;
        this.card2List = card2List;
    }
}
